<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
     <label class="control-label col-sm-2">领料单编号:</label>
     <div class="col-sm-2">
        <input id="c-cPOID-e" readonly class="form-control" name="row[cPOID]" type="text" value="{$row.material_code}">
    </div>
    <label class="control-label col-sm-2">单据日期:</label>
    <div class="col-sm-2">
      <input id="c-code_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[code_date]" type="text" value="{$row.order_date}" readonly>
    </div>
      <label class="control-label col-sm-2">申请部门:</label>
      <div class="col-sm-2">
        <input id="c-cdepname" readonly class="form-control" name="row[cPOID]" type="text" value="{$row.cdepname}">
      </div>
  </div>
  <div class="form-group">
   <label class="control-label col-sm-2">出库类别:</label>
  <div class="col-sm-2">
     <input id="c-crdname" readonly  class="form-control" name="row[crdname]" type="text" value="{$row.crdname}">
 </div> 
 <!-- <label class="control-label col-sm-2">审核日期:</label>
   <div class="col-sm-2">
      <input id="c-sh_time" readonly class="form-control" name="row[sh_time]"  type="text"  value="{$row.sh_time}">
  </div> -->
   <div class="col-sm-1">
      <!-- <input id="c-export" class="btn btn-success" type="button" value="导出" style="width:100px;"> -->
      <!-- <a href="javascript:;" class="btn btn-default btn-print {:$auth->check('inventory/material/print')?'':'hide'}"  ><i class="fa fa-print"></i> {:__('拣货打印')}</a>  -->
  </div>
 </div>
  <div style="white-space: nowrap;overflow-x: auto;width:100%">
    <table class="table fieldlist table-nowrap" data-template="basictpl" id="free-programme-item-table" data-name="row[basic]">
      <tr class="table-bordered">
        <td class="text-center table-bordered" width="100">{:__('仓库')}</td>
        <td class="text-center table-bordered" width="150">{:__('拣货路径')}</td>
        <td class="text-center table-bordered" width="100">{:__('物料编码')}</td>
        <td class="text-center table-bordered" width="200">{:__('物料名称')}</td>
        <td class="text-center table-bordered" width="100">{:__('规格型号')}</td>
        <!-- <td class="text-center table-bordered" width="100">{:__('物料属性')}</td> -->
        <td class="text-center table-bordered" width="100">{:__('单位')}</td>
        <td class="text-center table-bordered" width="100">{:__('数量')}</td>
        <td class="text-center table-bordered" width="40">{:__('创建时间')}</td>
      </tr>
    </table>
  </div>
  <textarea name="row[basic]" id="c-basic-textarea" class="form-control hidden" cols="30" rows="5">{$list_json}</textarea>
  <script id="basictpl" type="text/html">
    <tr class="table-bordered">
      <td class="text-center table-bordered"><%=value?value['wname']:''%></td>
	  <td class="text-center table-bordered"><%=value?value['tj_shelves_name']:''%></td>
      <td class="text-center table-bordered"><%=value?value['inventory_number']:''%></td>
      <td class="text-center table-bordered"><%=value?value['name']:''%></td>
      <td class="text-center table-bordered"><%=value?value['specification']:''%></td>
      <td class="text-center table-bordered"><%=value?value['attributes']:''%></td>
      <td class="text-center table-bordered"><%=value?value['unit']:''%></td>
      <td class="text-center table-bordered"><%=value?value['quantity']:''%></td>
      <td class="text-center table-bordered"><%=value?value['createtime']:''%></td>
    </tr>
  </script>
<!--    <div class="form-group layer-footer">-->
<!--        <label class="control-label col-xs-12 col-sm-2"></label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>-->
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
<!--        </div>-->
<!--    </div>-->
</form>
